package br.usp.ime.ingpos.web.interceptors;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import br.usp.ime.ingpos.modelo.TipoPerfil;

/**
 * Define pol�tica de acesso irrestrito � uma determinada p�gina.
 */
@Target( value = {
    ElementType.METHOD, ElementType.TYPE
} )
@Documented
@Retention( value = RetentionPolicy.RUNTIME )
public abstract @interface RestrictAccessPerfil
{
    TipoPerfil[] values();
}
